package pe.edu.upc.dew.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import pe.edu.upc.dew.dao.MerchandizingDao;
import pe.edu.upc.dew.model.Merchandizing;
import pe.edu.upc.dew.service.MerchandizingService;

@Service
public class MerchandizingServiceImpl implements MerchandizingService {

	@Autowired
	MerchandizingDao merchandizingDao;

	public void setMerchandizingDao(MerchandizingDao merchandizingDao) {
		this.merchandizingDao = merchandizingDao;
	}
	@Override
	public List<Merchandizing> obtenerMerchandizingPorPelicula(String idPelicula) {
		return merchandizingDao.getMerchandizingPorPelicula(idPelicula);
	}

}
